Repository navigation
docs(skills): objectstack-ai names the save refusal of a knowledge_source whose adapter is not mounted - #38224
objectstack-fleet[bot] wants to merge 7 commits into
Conversation
…urce whose adapter is not mounted Pins the remedy branches of the refusal text and the package-duplicate door's answer for it, and qualifies the migration entry's replacement. Claude-Session: https://claude.ai/code/session_016WV4cwPhGV4g9p1BGQaZbP Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckNothing in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 1 changed package(s)), so this run has no opinion about the docs. What this run could not see
Coarse fallback — 177 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · d9c8872 · 2026-11-28T08:21Z |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract reviewServed-tier: Read: card #38158 (body and its four comments: triage 7234584218, unlock 7235360799, claim 7235622964, dev report 7236512132), PR #38224 (body, six files, net diff of the head against merge base The rest of the diff is the lane seat's ACCEPT at ① Derived judgments
② Semver levelClause-②: no The line is carried on the PR body and in the changeset, and it matches the diff: nothing is narrowed, nothing an author could write before is refused now, and the refusal the text describes shipped with PR #38060. The changeset names The l1-face flag (
So neither package's tarball changes by a byte, and neither owes a changeset entry. ③ Boundary flags
④ Design judgment
Tried to break it: with no adapter mounted the runtime prints only the mount remedy, and the row still reads "name a mounted one, or mount the store". That is vacuous there and not wrong, since the second remedy holds. A malformed Migration entry N1 (nit) — one host shape is still outside the parenthesis: several adapters mounted, and a deployment adapter marked that is not itself mounted. There the save of a source with no
N2 (nit) — the trailing comment on the row still reads "-18 (was 6824), then -5 A2′ (was 6806)", history two raises old. It predates this PR and has no effect on the gate. PR #38156 and the shared row. PR #38156 (open, head So if PR #38156 lands first, this PR must merge No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): REWORK (main merge and re-pin only) at head Review summaryThe content is accepted. The at-tier record is 7236869716, a PASS with its tier verified. It reads
Why this head cannot land. PR #38156 merged at 08:39Z. It edits the same What to do. Merge Nits, optional.
|
…nt on main Claude-Session: https://claude.ai/code/session_016WV4cwPhGV4g9p1BGQaZbP Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · 087e962 · 2026-11-28T09:05Z |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract reviewServed-tier: Delta round on record 7236869716, which read head The remainder of the diff (two test files, the changeset) stays the lane seat's ACCEPT at ① Derived judgments
② Semver levelClause-②: no Unchanged. The changeset is byte-identical to the one already read ( ③ Boundary flags
④ Design judgmentThe re-pinned row equals the measurement on this head. Blob sizes read from git: The note's arithmetic is true. Every figure in the rewritten note checks against the tree: The PR body's figures are true. Lines 489 and 489 (the merged change added one line to the file); bytes 27648 and 27858; tokens 6906 and 6958 on priced bytes 27621 and 27831; all PR #38156 does not collide with this PR's row text. On
The two observations recorded as N1 and N2 in record 7236869716 are unchanged on this head and remain as left there: accepted deviations or follow-up cards, not owed by this PR. No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): ACCEPT (delta) at head Review summary
Next: GOVERNED Tier H ( |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · 92cc3cd · 2026-11-28T09:43Z |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract reviewServed-tier: Second delta round, on records 7236869716 (head Check-runs when this record was written: 70 in all, 25 The remainder of the diff (two test files, the changeset) stays the lane seat's ACCEPT at ① Derived judgments
② Semver levelClause-②: no Unchanged. The changeset is byte-identical ( ③ Boundary flags
④ Design judgmentWhat The row still equals the measurement on the merged tree. Blob sizes read from git: The PR body's new figures are true.
The two observations recorded as N1 and N2 in record 7236869716 are unchanged on this head and remain as left there. No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): ACCEPT (delta, merge only) at head Review summary
Next: GOVERNED Tier H ( |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · f75d35a · 2026-11-28T10:08Z |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract reviewServed-tier: Third delta round, on records 7236869716 (head Check-runs when this record was written: 50 in all, 11 The remainder of the diff (two test files, the changeset) stays the lane seat's ACCEPT at ① Derived judgments
② Semver levelClause-②: no Unchanged. The changeset is byte-identical ( ③ Boundary flags
④ Design judgment
This PR's row still equals the measurement. Blob sizes read from git: The PR body's new figures are true.
The clause-by-clause readings in record 7236869716 stand as written. The two observations recorded as N1 and N2 there are unchanged on this head and remain as left. No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): ACCEPT (delta, merge only) at head Review summary
Next: GOVERNED Tier H ( |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · f2f00af · 2026-11-28T10:39Z |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract reviewServed-tier: Fourth delta round, on records 7236869716 (head Check-runs when this record was written: 40 in all, 8 The remainder of the diff (two test files, the changeset) stays the lane seat's ACCEPT at ① Derived judgments
② Semver levelClause-②: no Unchanged. The changeset is byte-identical ( ③ Boundary flags
④ Design judgment
Why the bundle figure is unchanged. The bundle total is the sum of the per-file counts, and a count is a function of the priced byte length alone. The only ratcheted file This PR's row still equals the measurement. Blob sizes read from git: The PR body's figures and head names are true. Lines 489 and 489; bytes 27648 and 27858; tokens 6906 and 6958 on priced bytes 27621 and 27831; all One
The other five commits (kanban, two test-timing changes, a changelog note, and the data-hooks skill reference above) touch no path any earlier judgment rests on. The two observations recorded as N1 and N2 in record 7236869716 are unchanged on this head and remain as left. No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): ACCEPT (delta, merge only), with two landing conditions at head Review summary
Landing conditions:
Next: GOVERNED Tier H ( |
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Seat record · 2026-11-28T11:12Z · PR #38224 (Fixes #38158) · head 维护者速读
Seat opinion: land. 席位核对 — ACCEPT · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Approval request · governed @os-zhuang:
Every check is green or expected-skip. An APPROVED review on this head lets seat repo:objectstack#1 ready and land it; nothing else is asked. |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 46138995455 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 46142212931 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Queue ejection diagnosis · 2026-11-28T12:32Z · PR #38224 · head
|
Resolve the objectstack-ai ratchet row against main's 7148 (PR #38292): re-measured on the merged tree, 28827 bytes, priced 28800, ceil = 7200; this PR's +52 rides the same ruling (record 6513306068, letter B). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cwPhGV4g9p1BGQaZbP
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract reviewServed-tier: Fifth delta round, on record 7238076579 (head Check-runs when this record was written: 52 in all, 15 The remainder of the diff (two test files, the changeset) stays the lane seat's ACCEPT at ① Derived judgments
② Semver levelClause-②: no Unchanged. The changeset is byte-identical ( ③ Boundary flags
④ Design judgmentThe re-measured arithmetic is true. Blob sizes read from git: The PR body's figures are true. Lines 505 and 505; bytes 28617 and 28827; tokens 7148 and 7200 on priced bytes 28590 and 28800; all The raise path still holds with
6513306068 is a ruling of record in the sense of seat ruling 7238709377, and it covers this row. That ruling asks for a
So the authority here is the recorded ruling comment, cited by id in the body and the note. It is not a relay, not this card's body, and not the approval. The seat ruling was written for the line ratchet of two other PRs; applied to this token row it is satisfied, not strained. No per-card ruling is owed for the +52. The #38292 and #38237 touch nothing this PR's tests exercise. #38292 ( Two other commits in the range do reach those files, and neither undercuts a judgment:
N1 of record 7236869716 is unchanged on this head and remains as left there. N2 of that record no longer applies: the stale trailing comment on the row is gone, dropped by No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): ACCEPT (delta, conflicted merge), with one landing condition at head Review summary
Landing condition: all-green at this head, For the seat: this is a non-clean merge. Approval request 7238409610 names head Next: GOVERNED Tier H ( |
|
triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t Triage answer to
|
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Seat record · 2026-11-28T14:00Z · PR #38224 (Fixes #38158) · head 维护者速读
Seat opinion: land. 席位核对 — ACCEPT · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Approval request · 2026-11-28T14:01Z · governed @os-zhuang: same change as your APPROVED on
Every check is green or expected-skip. An APPROVED review on this head lets seat repo:objectstack#1 land it; nothing else is asked. |
Fixes #38158
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
skills/objectstack-ai/SKILL.md§ Knowledge Sources, theadapterrow. It named the refusal of an omitted adapter only. It now also says that a run-time save naming an adapter the deployment does not mount is refused (400 VALIDATION_ERROR, nothing written), naming the source, the adapter and the mounted ones, with the two remedies that always hold: name a mounted one, or mount the store and save again. Worded fromunmountedAdapterSaveTextinpackages/services/service-knowledge/src/knowledge-service.ts.knowledge-source-admission.test.ts: the "leaveadapterout" remedy is offered with one adapter mounted and with the deployment's adapter mounted; it is withheld with two mounted and none marked, with a deployment adapter that is not itself mounted, and with none mounted. A control asserts what the clause promises: the omitted adapter is admitted where the remedy is offered and refused where it is withheld.packages-knowledge-source-gate.test.ts: the package-duplicate door answers this refusal400witherror.codeVALIDATION_ERRORand the save's own sentence, and copies nothing.knowledge-source-unmounted-adapter-refused-at-save: itsreplacementnow qualifies "noadapterat all": on a host that mounts several adapters and marks none the deployment's, a source with noadapteris itself refused, so name one there.scripts/check-skills-token-ratchet.mjs: theskills/objectstack-ai/SKILL.mdrow moves 7148 to 7200, pinned at the measurement taken on this head, which carriesmain333e6f3 (with PR docs(skills): objectstack-ai teaches knowledge sources over business objects #38292, which moved the same row 6906 to 7148).@objectstack/skillspatch and@objectstack/specpatch (the entry's text ships in the upgrade guide). The two test files publish nothing, so@objectstack/service-knowledgeand@objectstack/runtimetake none.Skill size readings
Raise path: the standing ruling 「A:先削重复,余额按实测提高」 (ruling record 6513306068, letter B). Paid down first, in the same file: the row's "Optional" (its "Omitted:" clause already says the key may be left out).
main333e6f3)skills/objectstack-ai/SKILL.md, linesskills/objectstack-ai/SKILL.md, bytesskills/objectstack-ai/SKILL.md, tokens (priced bytes, stamp line excluded: 28590 to 28800)skills/*/SKILL.md, linesThe row moves +52, the measured remainder only:
ceil(28800 / 4) = 7200. The merge ofmain333e6f3 conflicted on this row only; it was resolved by keepingmain's 7148 note and adding this PR's note above the re-measured row.Why
PR #38060 added the save refusal and the migration entry. Its contract review left three follow-ups: the published skill did not teach the refusal, the remedy branches of the refusal text and the duplicate door's answer had no pin, and the entry's
replacementoffered a remedy that is itself refused on one kind of host.Tests
Read first, by risk:
skills/objectstack-ai/SKILL.md, theadapterrow: published text; check it againstunmountedAdapterSaveText.packages/spec/src/migrations/entries/semantic/19.knowledge-source-unmounted-adapter-refused-at-save.ts,replacement: shipped upgrade-guide text.scripts/check-skills-token-ratchet.mjs, the new note above the row: the arithmetic.Two-minute check:
pnpm --filter @objectstack/service-knowledge exec vitest run src/__tests__/knowledge-source-admission.test.ts -t 'offers leaving'prints 1 passed.The two edited test files,
check-skills-token-ratchet(gate and self-test) andcheck:skill-docswere re-run on head92cc3cd391(the first head, the row re-pin, and merges ofmainup to bd5407e). Headsf75d35a017andf2f00af325add clean merges ofmain(98bd8de, which lowers theobjectstack-uirow, then f19350b), and heade3e2fab53fmergesmain333e6f3 with the one ratchet-row conflict resolved as above. The second carries #38208 (898b056), which editspackages/runtime/src/domains/packages-knowledge-source-gate.test.ts(also edited here, in other hunks; git merged them without a hand) andpackages/runtime/src/domains/packages.tsandpackages/metadata-core/src/knowledge-source-save-admission.ts, which this PR's duplicate-door pin exercises. Onf2f00af325ande3e2fab53fonly the ratchet gate and its self-test were re-run locally (exit 0); the edited tests on the merged tree are read from this head'sTest Core. The ablation, the 121-family gate list and the package-wide runs below were read on the first headd9c88726c4, before those merges.Edited test files
Ablation: the pins go red when the branch or the mapping is reverted
Each mutation was applied with
scripts/ablation-replace.mjs(anchor hit once, restore verified as blob equal to HEAD and an emptygit diff HEAD). Both subjects are imported fromsrc, so nodistleg applies.placeable = true(always offer the remedy)adapterout"placeable = false(never offer it)adapterout"placeable = deployment !== undefined OR mounted.length === 1(drop the "deployment's adapter is mounted" test)adapterout"packages.ts: the duplicate door answers a fixed403in place ofrefused.statusAcceptance notes
adapterout"): it is conditional, and the row's own "Omitted:" clause already states where an omitted adapter is placed and where it is refused.VALIDATION_ERRORcode on its answer is derived from the400, not copied from the refusal's owncode. The two agree for every refusal the predicate answers today. Noted, not filed.Verification
node scripts/pm/dispatch-gates.mjs --commands, 121 families) run ond9c88726c4: 119 exit 0. Among themcheck-skills-token-ratchet("61 authored bundle file(s) within their ceilings"),check:skill-docs,check:skill-refs,check:skill-links,check:skill-identifier-liveness,check:spec-changes,check:upgrade-guide,check:doc-authoring,check:nul-bytes,check:cross-package-test-inputs.check:dual-build-cjs-loads(exit 3, "PREREQUISITE NOT MET", it needs every package built) and the CLI filetest/migrate-meta-engine-guidance.test.ts(its global setup could not load the unbuilt CLI closure). CI reads both.d9c88726c4,VERDICT command-exit 0:pnpm --filter @objectstack/service-knowledge test(Test Files 19 passed, Tests 683 passed),typecheckof@objectstack/service-knowledge,@objectstack/runtimeand@objectstack/spec, and the spec migration suites (vitest run src/migrations: Test Files 5 passed, Tests 207 passed).test:repowas not run. CI'sTest Corecarries those.Human Minimum
packages/specholds no runtime logic.pnpm lintis CI's reading.main, one pull request.packages/spectouched:check:generatedfamilies ran green; nothing to regenerate.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.Generated by Claude Code